﻿<?xml version="1.0" encoding="utf-8" ?>
<DbDataRequest connection="$UserManagementDBConnection$" type="$UserManagementDbType$" >
  <SqlStatement hasResults="false">
    UPDATE Companies SET 
          name=@name
		  ,canCreateChildCompanies=@canCreateChildCompanies
		  ,enable=@enable
		  ,autoCreateCompany=@autoCreateCompany
		  ,autoCreateUser=@autoCreateUser
		  ,shortName=@shortName
    WHERE id=@id
  </SqlStatement>
  <Param name="id" type="UniqueIdentifier"/>
  <Param name="name" type="VarChar"/>
  <Param name="shortName" type="UniCodeVarChar"/>
  <Param name="canCreateChildCompanies" type="Bit"/>
  <Param name="enable" type="Bit" />
  <Param name="autoCreateCompany" type="Bit" />
  <Param name="autoCreateUser" type="Bit" />
</DbDataRequest>